package com.app.base.service.core.company.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * 公司
 * @author yuhag
 * @date 2022/05/09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CoCompany对象", description="")
@TableName("co_company")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "公司编号")
    private String code;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "公司头像")
    private String companyAvatar;

    @ApiModelProperty(value = "ceo")
    private String ceo;

    @ApiModelProperty(value = "ceo头像")
    private String ceoAvatar;

    @ApiModelProperty(value = "简介")
    private String description;

    @ApiModelProperty(value = "ceo电话")
    private String ceoPhone;

    @ApiModelProperty(value = "简称")
    private String abbreviation;

    @ApiModelProperty(value = "0 大型企业 1 中型企业 2 小型企业")
    private Integer scale;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
